package com.example.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
public class PageController {

    @RequestMapping(value = {"/index", ""}, method = RequestMethod.GET)
    public String index() {
        return "index";
    }

    @RequestMapping(value = {"/login"}, method = RequestMethod.GET)
    public String login() {
        return "login";
    }

    @RequestMapping(value = {"/test"}, method = RequestMethod.GET)
    public String test() {
        return "test";
    }

    @RequestMapping(value = {"/student"}, method = RequestMethod.GET)
    public String student() {
        return "student";
    }
    
    @RequestMapping(value = {"/admin"}, method = RequestMethod.GET)
    public String admin() {
        return "admin";
    }
    
    @RequestMapping(value = {"/scheduleListView"}, method = RequestMethod.GET)
    public String examListView() {
        return "scheduleListView";
    }
    
    @RequestMapping(value = {"/welcome"}, method = RequestMethod.GET)
    public String welcome() {
        return "welcome";
    }
    
    @RequestMapping(value = {"/courseListView"}, method = RequestMethod.GET)
    public String courseListView() {
        return "courseListView";
    }
    
    @RequestMapping(value = {"/studentListView"}, method = RequestMethod.GET)
    public String studentListView() {
        return "studentListView";
    }
    
    
    @RequestMapping(value = {"/teacherListView"}, method = RequestMethod.GET)
    public String teacherListView() {
        return "teacherListView";
    }
    
    // @RequestMapping(value = {"/gradeListView"}, method = RequestMethod.GET)
    // public String gradeListView() {
    //     return "gradeListView";
    // }
    
    @RequestMapping(value = {"/clazzListView"}, method = RequestMethod.GET)
    public String clazzListView() {
        return "clazzListView";
    }
    
    @RequestMapping(value = {"/scoreListView"}, method = RequestMethod.GET)
    public String scoreListView() {
        return "scoreListView";
    }
    
}
